const { merge } = require('webpack-merge');
const common = require('./webpack.common');
const CopyWebpackPlugin = require('copy-webpack-plugin');

module.exports = merge(common, {
  mode: 'production',
  // module: {
  //   rules: [],
  // },
  plugins: [
    new CopyWebpackPlugin({
      patterns: [{ from: 'public/favicon.ico', to: '.' }],
    }),
  ],
});
